using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
	[Serializable]
	public class StStockmanagematTable : TableInfo
	{
		public const string C_TABLENAME = "St_Stockmanagemat"; 

		public const string C_STOCKMANAGEMATID = "STOCKMANAGEMATID";
		public const string C_BILLTYPE = "BILLTYPE";
		public const string C_BILLCODE = "BILLCODE";
		public const string C_MATERIALID = "MATERIALID";
		public const string C_STOCKNUM = "STOCKNUM";
		public const string C_INSTOCKDATE = "INSTOCKDATE";
				
		public StStockmanagematTable()
		{
			_tableName ="St_Stockmanagemat";
		}

		protected static StStockmanagematTable _current;

		public static StStockmanagematTable Current
		{
			get
			{
				if (_current == null )
				{
					Initial();
				}
				return _current;
			}
		}

		private static void Initial()
		{
			_current = new StStockmanagematTable();

			_current.Add(C_STOCKMANAGEMATID, new ColumnInfo(C_STOCKMANAGEMATID, "", true, typeof(Decimal?)));
			_current.Add(C_BILLTYPE, new ColumnInfo(C_BILLTYPE, "", false, typeof(String)));
			_current.Add(C_BILLCODE, new ColumnInfo(C_BILLCODE, "", false, typeof(String)));
			_current.Add(C_MATERIALID, new ColumnInfo(C_MATERIALID, "", false, typeof(String)));
			_current.Add(C_STOCKNUM, new ColumnInfo(C_STOCKNUM, "", false, typeof(Decimal?)));
			_current.Add(C_INSTOCKDATE, new ColumnInfo(C_INSTOCKDATE, "", false, typeof(DateTime?)));
						
		}

		public ColumnInfo STOCKMANAGEMATID
		{
			get { return this[C_STOCKMANAGEMATID];}
		}

		public ColumnInfo BILLTYPE
		{
			get { return this[C_BILLTYPE];}
		}

		public ColumnInfo BILLCODE
		{
			get { return this[C_BILLCODE];}
		}

		public ColumnInfo MATERIALID
		{
			get { return this[C_MATERIALID];}
		}

		public ColumnInfo STOCKNUM
		{
			get { return this[C_STOCKNUM];}
		}

		public ColumnInfo INSTOCKDATE
		{
			get { return this[C_INSTOCKDATE];}
		}

		
	}
}


